// pages/jobSubScription/details/details.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    area: "请选择",
    level: "请选择",
    serial: "请选择",
    areaValue: "",
    levelValue: "",
    serialValue: "",
    areaShow: false,
    levelShow: false,
    serialShow: false,
    serialColumns: [{
        text: '不限编制',
        value: 1
      },
      {
        text: '编制内',
        value: 2
      },
      {
        text: '编制外',
        value: 3
      },
    ],
    areaColumns: [],
    enterType: 1 // 1新增  0编辑
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.setData({
      enterType: Number(options.enterType)
    })
  },

  areaSet(e, d, f) {
    console.log(e, d, f)
  },

  serialSet(e, d, f) {
    console.log(e, d, f)
  },

  pickerClose() {
    this.setData({
      areaShow: false,
      levelShow: false,
      serialShow: false
    })
  }

})